json.extract! @invoice, :id, :code, :date, :total_fee, :total_discount, :created_at, :updated_at, :created_by, :updated_by, :created_at, :updated_at
